
#ifndef PBKEYS_H__
#define PBKEYS_H__


typedef enum
{
    PB_COMMAND_DFU_INIT    = 0x01,
    PB_COMMAND_DFU_WRITE   = 0x02,
    PB_COMMAND_DFU_EXECUTE = 0x03,
    PB_COMMAND_DFU_QUERY   = 0x0C,
    PB_COMMAND_DFU_RESET   = 0x0D,
    PB_COMMAND_DFU_MTU     = 0x0E,
    PB_COMMAND_DFU_VERSION = 0x0F,

    PB_COMMAND_START = 0xF0,
    PB_COMMAND_STOP,
    PB_COMMAND_PRESENT,
    PB_COMMAND_CONFIG,
    PB_COMMAND_BLE,
    PB_COMMAND_NOTIFY,
    PB_COMMAND_CONTROL,
    PB_COMMAND_SYSTEM,
    PB_COMMAND_ACTIVATE,
    PB_COMMAND_LOG,
    PB_COMMAND_NEGATIVE,    
}pb_command_t;

typedef enum
{
    PB_START_KEY_MAC = 0x01,
    PB_START_KEY_FW_VER,
    PB_START_KEY_MTU,
    PB_START_KEY_DEVICE_ID,
    PB_START_KEY_PROJECT_CODE,
    
}pb_start_keys_t;

typedef enum
{
    PB_CONFIG_KEY_FILTER_DISABLE = 1,
    PB_CONFIG_KEY_FILTER_NAME,
    PB_CONFIG_KEY_FILTER_UUID,
    PB_CONFIG_KEY_FILTER_MANUF_DATA,
    PB_CONFIG_KEY_FILTER_MAC,
    PB_CONFIG_KEY_FILTER_RSSI,
    PB_CONFIG_KEY_FILTER_SERVICE_DATA,
    PB_CONFIG_KEY_FITLER_CUSTOM,

    PB_CONFIG_KEY_MODE,
    PB_CONFIG_KEY_READ_PROFILE = 0xFE,
    PB_CONFIG_KEY_SAVE_PROFILE,
}pb_config_keys_t;

typedef enum
{
    PB_BLE_KEY_DISCONNECT = 1,
    PB_BLE_KEY_CONNECT,
    PB_BLE_KEY_START_SCAN,
    PB_BLE_KEY_STOP_SCAN,
    PB_BLE_KEY_QUERY_STATE,

    PB_BLE_KEY_QUERY_ALL_STATE,

    PB_BLE_KEY_WRITE = 0x30,
    PB_BLE_KEY_WRITE_VALUE_HANDLE,
    PB_BLE_KEY_READ = 0x40,
    PB_BLE_KEY_VALUE_NOTIFY,
    
}pb_ble_keys_t;


#endif // !PBKEYS_H__
